import { graph } from "../src/graph/cargo";

const p = {
  root: "/Volumes/Data/POC测试集/货物清单POC",
  file: "ITO Renewables-Inverleigh-230727-难.xlsx",
};

const c = {
  configurable: {
    thread_id: 'thread_id',
  },
  streamMode: 'updates' as const,
  // streamMode: 'values' as const,
  recursionLimit: 50,
};

const g = graph();
const r = await g.stream(p, c)
for await (const v of r) {
}
